package com.cmc6.user.model.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import java.util.Set;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class UserUpdatePasswordDTO {

    @NotEmpty
    @ApiModelProperty(value = "user主键 idSet", required = true)
    private Set<Long> idSet;

    @NotBlank
    @ApiModelProperty(value = "前端加密之后的，新密码", required = true)
    private String newPassword;

    @NotBlank
    @ApiModelProperty(value = "前端加密之后的原始密码，新密码", required = true)
    private String newOrigPassword;

}
